package com.runfast.waimai.dao.mapper;

import com.runfast.common.dao.IMapper;
import com.runfast.waimai.dao.model.BasePurview;
import com.runfast.waimai.dao.model.BasePurviewExample;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BasePurviewMapper  extends IMapper<BasePurview, Integer, BasePurviewExample> {

    /**
     * 根据父菜单，查询子菜单
     * @param parentId 父菜单ID
     */
    List<BasePurview> queryListParentId(Integer parentId);

    List<BasePurview> queryNotButtonList();
}